package begin.view 
{
	import ui.begin.MonarchItemUI;
	import vo.GeneralVO;
	
	/**
	 * ...
	 * @author WLDragon 2014-03-14
	 */
	public class MonarchItem extends MonarchItemUI 
	{
		
		public function MonarchItem(data:GeneralVO) 
		{
			super();
			
			this.data = data;
			btName.text = data.name;
			
			//画一块点击区域
			graphics.beginFill(0x000000,0);
			graphics.drawRect(0, 0, 156, 30);
			graphics.endFill();
			
			mouseEnabled = true;
			//buttonMode = true;
			tabEnabled = false;
		}
		
		public var data:GeneralVO;
		public var index:int;
	}

}